import 'dart:io';
import 'dart:typed_data';

import 'package:psd_reader/psd_reader.dart';

void main() {
    final psdPath = '/xxx.psd';
    
    final File file = File(psdPath);
    final Uint8List fileData = file.readAsBytesSync();
    var imageData=readPsdImageData(data:fileData);
    print(imageData?.length);
}
